This is a report about stock indexes in the world markets since 24 February 2020 to 17 June 2022 (data collected since the outbreak of the pandemic in Europe until now). For this report I choose selected:

All of data orgin from the website: www.wsj.com/market-data

For analyzis I performed among others: time series models, multiple regression, cross validation.This methods allows to predict values of stock indexes in the future.


Dow Jones Industrial Average is:

“a stock index that tracks 30 of the largest U.S. companies. Created in 1896, it is one of the oldest stock indexes, and its performance is widely considered to be a useful indicator of the health of the entire U.S. stock market”.

(source of definition: https://www.fool.com/investing/stock-market/indexes/dow-jones/;

source of data: https://www.wsj.com/market-data/quotes/index/DJIA/historical-prices )

FTSE China A50 is:

“an index for 50 stocks of companies with the highest market capitalisation listed on the Shanghai and Shenzhen stock exchanges”.

(source of definition: https://www.avatrade.com/trading-info/financial-instruments-index/indices/china-a50;

source of data: https://www.wsj.com/market-data/quotes/index/XX/XIN9/historical-prices )

FTSE 100 is:

“an index composed of the 100 largest (by market capitalisation ) companies listed on the London Stock Exchange (LSE)”.

(source of definition: https://www.ii.co.uk/knowledge-centre/quick-guides/before-you-start/what-is-the-ftse-100;

source of data: https://www.wsj.com/market-data/quotes/index/UK/UKX/historical-prices)

NASDAQ is:

“The first electronic stock market listing over 5000 companies. The Nasdaq stock market comprises two separate markets, namely the Nasdaq National Market, which trades large, active securities and the Nasdaq Smallcap Market that trades emerging growth companies”.

(source of definition: https://www.nasdaq.com/glossary/n/nasdaq-stock-market;

source of data: https://www.wsj.com/market-data/quotes/index/NASDAQ/historical-prices)

NIKKEI 225 is:

“the most recognized Japanese stock market index. It comprises Japan’s top 225 companies that are listed on the Tokyo Stock Exchange. The Nikkei Index is considered an important measure of the Japanese stock market and the performance of the Japanese economy.”

(source of definition: https://corporatefinanceinstitute.com/resources/knowledge/trading-investing/nikkei-index/;

source of data: https://www.wsj.com/market-data/quotes/index/JP/NIK/historical-prices)

S&P 500 is:

“a market-capitalization-weighted index of 500 leading publicly traded companies in the U.S. It is not an exact list of the top 500 U.S. companies by market cap because there are other criteria that the index includes.”

(source of definition: https://www.investopedia.com/terms/s/sp500.asp;

source of data: https://www.wsj.com/market-data/quotes/index/SPX/historical-prices)

EURO STOCK 50 :

“represents the performance of the 50 largest companies among the 20 supersectors in terms of free-float market cap in Eurozone countries. The index has a fixed number of components and is part of the STOXX blue-chip index family. The index captures about 60% of the free-float market cap of the EURO STOXX Total Market Index (TMI)”

(source of definition: https://www.stoxx.com/document/Bookmarks/CurrentFactsheets/SX5GT.pdf;

source of data: https://www.wsj.com/market-data/quotes/index/XX/SX5E/historical-pricess)

VIX is:

“based on the prices of options on the S&P 500 Index and is calculated by aggregating weighted prices of the index’s call and put options over a wide range of strike prices.”

(source of definition: https://corporatefinanceinstitute.com/resources/knowledge/trading-investing/vix-volatility-index/;

source of data: https://www.wsj.com/market-data/quotes/index/VIX/historical-prices)

This plot below presents all indexes:

A time series is an ordered set of measurements taken at regular intervals, an ideal example of which is the stock exchange indexes.

Time series plot for EURO STOCK 50 is as follows:

Time series wad broke down into: seasonal component, trend, and residuals.

We see some seasonal character of our data/

Augmented Dickey-Fuller Test for stationarity confirms that variable EURO STOCK 50 is non-stationary:

## 
##  Augmented Dickey-Fuller Test
## 
## data:  tsSX5Euro
## Dickey-Fuller = -2.3361, Lag order = 3, p-value = 0.4438
## alternative hypothesis: stationary

Then it was done time series evaluation using autocovariance (acf function) and partial autocovariance (pacf function). Autocovariance presents the correlation of the time series with itself shifted by a certain time interval. In turn, partial autovariance is the size of the correlation between the time series and its shift (Lander, 2018, s.404).

This plot shows result of autocovariance:

This plot shows result of partial autocovariance:

The charts confirm the non-stationary nature of the trend. Therefore, a differentiation has to be performed. The number of differentiations was determined using the ndiffs function and amounted to 0.

The ARMA function showed that the optimal model for the discussed time model will be ARMA (1, 0, 0). The ACF and PACF for the ideal model show the white noise pattern:

This is the result of building ARIMA model(1,0,0):

## Series: tsSX5Euro 
## ARIMA(1,0,0) with drift 
## 
## Coefficients:
##          ar1  intercept   drift
##       0.8939  3550.3984  4.0049
## s.e.  0.0798   127.7783  6.1955
## 
## sigma^2 = 3640:  log likelihood = -159.26
## AIC=326.53   AICc=328.19   BIC=332
## 
## Training set error measures:
##                    ME     RMSE      MAE       MPE     MAPE      MASE      ACF1
## Training set 5.772513 57.12563 50.13811 0.1384377 1.367824 0.2815538 0.0824524

Plot for residuals:

## Don't know how to automatically pick scale for object of type ts. Defaulting to continuous.

This is prediction based on the ARIMA model forecasting for 24 months with the standard error:

The ols_step_all_possible function allows the assessment of how different models account for VIX variability. For example if only the CDS5Y variable was taken as a predictor - it explains 57% of the VIX variability. Ols_step_both_aic function allows to observe regression using stepwise method. The histogram confirms a normal distribution. The K-S test (performed with the use of the ols test normality function) allows to state that the residuals are normally distributed, which is also confirmed by the quantil-quantil plot. Outliers were determined using the Cook’s distance.


In summary, we see fertility rate and birth rate falling over the years, while death rate and life expectancy are increasing. It is very important to follow demographic changes in countries and individual parts of the world so that governments can react early and shape their policies on public health, pro-family policies, etc.It is impossible to track demographic changes in isolation from the data on armed conflicts and the related migration of people, climate change, and the pandemic situation.


Biography: * Lander, J. P. (2018). R dla każdego. Zaawansowane analizy i grafika statystyczna. Warszawa: APN Promise.

Web references